package com.hnevc.yourhealthmanager.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hnevc.yourhealthmanager.dto.DietRecordDTO;
import com.hnevc.yourhealthmanager.dto.DietRecordDTO;
import com.hnevc.yourhealthmanager.entity.DietRecord;
import com.hnevc.yourhealthmanager.entity.HealthPlane;
import com.hnevc.yourhealthmanager.entity.SportRecord;

import java.util.List;

public interface DietRecordService extends IService<DietRecord> {
    List<DietRecordDTO> selectDietRecordByUserId(Integer userId);
    List<DietRecordDTO> getDietRecordListByHealthPlane(HealthPlane healthPlane);
    List<DietRecordDTO> getDietRecordListByPlaneMonth(HealthPlane healthPlane, Integer month, Integer year);
    DietRecord updatePic(Integer id, String filePath);
}
